<!doctype html>
<html class="feedback">

	<head>
		<meta charset="UTF-8">
		<title>编辑货品</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../../dep/mui/css/mui.css" />
		<link rel="stylesheet" href="../../dep/mui/css/feedback.css" />
		<link rel="stylesheet" href="../../css/style.css" />
		<link rel="stylesheet" href="../../css/page/chioceProduct/productDetail.css" />

	</head>

	<body>
		<!--头部-->
		<header id="header" class="mui-bar mui-bar-nav header-lay">
			<h1 class="mui-title">编辑货品明细</h1>
			<button class="mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left" style="">
			    <span class="mui-icon mui-icon-left-nav"></span>返回</button>
		</header>
		<div class="padding-mui-btn-save">
			<div class="top-bg"></div>
			<ul id="product-main" class="mui-table-view">
				<li class="mui-table-view-cell mui-media ">

					<div class="mui-input-row">
						<a href="javascript:;">货品编号<span id="goods-num"></span></a>
					</div>

				</li>
				<li class="mui-table-view-cell mui-media">

					<div class="mui-input-row">
						<label>货品名称</label>
						<input class="testI" id="goods-name" type="text" placeholder="(必填)">
					</div>

				</li>
				<li class="mui-table-view-cell mui-media">
					<a href="chioceSort.html" class="mui-row">
						<div class="mui-pull-right list-sort">
							<span id="goods-type"></span>
							<span class="mui-icon mui-icon-arrowright"></span>
						</div>
						<div id="goods-sort" class="mui-media-body mui-ellipsis mui-col-xs-6">货品分类</div>
					</a>

				</li>
				<li class="mui-table-view-cell mui-media">

					<div class="mui-input-row">
						<label>规格</label>
						<input class="testI" id="goods-rule" type="text" placeholder="规格">
					</div>

				</li>
				<li class="mui-table-view-cell mui-media">

					<div class="mui-input-row">
						<label>单位</label>
						<input class="testI" id="goods-unit" type="text" placeholder="单位">
					</div>

				</li>
				<li class="mui-table-view-cell mui-media">

					<div class="mui-input-row">
						<label>预估成本</label>
						<input id="goods-money" type="number" placeholder="0.00">
					</div>
				</li>
				<li class="mui-table-view-cell mui-media">

					<div class="mui-input-row">
						<label>最低售价</label>
						<input id="goods-money" type="number" placeholder="0.00">
					</div>
				</li>
				<li class="mui-table-view-cell mui-media">

					<div class="mui-input-row">
						<label>最高进价</label>
						<input id="goods-money" type="number" placeholder="0.00">
					</div>
				</li>
				<li class="mui-table-view-cell mui-media">
					<a href="#" class="mui-media-object mui-pull-right scan-a">
						<img id="scan-icon" src="../../img/chioceProduct/scan-icon.png">
					</a>
					<div class="mui-media-body mui-row">
						<label class="mui-col-xs-4">产品条码</label>
						<input type="number" class="mui-text-right mui-col-xs-4" id="product-bar" placeholder="0.00">
					</div>
				</li>
				<li class="mui-table-view-cell mui-media area-text">
					<span class="mui-media-body mui-ellipsis">备注</span>
					<textarea class="many-text mui-pull-right" placeholder="新增商品信息"></textarea>
				</li>
				<li class="mui-table-view-cell" id="new-product-img">
					货品图片(总大小10M以下)
				</li>
				<li class="mui-table-view-cell mui-media" id="img-add">

					<a class="add-new-img" href="javascript:;">
						<span class="mui-icon mui-icon-plusempty"></span>
						<!--<p>上传照片</p>-->
					</a>
				</li>

			</ul>
		</div>
		<!--上传照片-->
		<!--<div id="add-news" class="mui-popover mui-popover-bottom mui-popover-action">
		    <ul class="mui-table-view">
			    <li class="mui-table-view-cell" id="images">
			        <a href="javascript:;">拍照</a>
			    </li>
			    <li class="mui-table-view-cell" id="local-images">
			        <a href="javascript:;">从手机相册选择</a>
			    </li>
		    </ul>
		    
		    <ul class="mui-table-view">
		      	<li class="mui-table-view-cell">
		        	<a href="#add-news">取消</a>
		      	</li>
		    </ul>
		</div>-->

		<div class="mui-save-btn" id="sub-btn">
			<button type="button" id="submit-btn" class="mui-btn mui-btn-block">保存</button>
		</div>
		<span class="alertT">货品编号不能为空</span>
		<span class="alertT">货品名称不能为空</span>
		<span class="alertT">货品分类不能为空</span>
		<span class="alertT">规格不能为空</span>
		<span class="alertT">单位不能为空</span>
	</body>

</html>
<script src="../../dep/seajs/3.0.0/sea.js"></script>
<script src="../../js/seajs_config.js"></script>
<script>
	seajs.use("../../js/chioceProduct/init");
	seajs.use("../../js/chioceProduct/addProduct");
</script>